package cn.bdqn.hibernate.pojo;

import java.util.HashSet;
import java.util.Set;

import com.sun.org.apache.bcel.internal.generic.NEW;


public class Project {
	
	
	/*
	 * DESC PROJECT;
Name Type      Nullable Default Comments 
------- ------------ -------- ------- -------- 
PROID NUMBER                           
PRONAME VARCHAR2(50) Y                        
EMPNO NUMBER Y 
	 */
	
	private int proid;
	private String proname;
     
	private Set<Employee> employees =new HashSet<Employee>();

	
	
	
	public Set<Employee> getEmployees() {
		return employees;
	}

	public void setEmployees(Set<Employee> employees) {
		this.employees = employees;
	}

	public Project(int proid,String proname){
		super();
		this.proid = proid;
        this.proname = proname;
	}
	
	public int getProid() {
		return proid;
	}
	public void setProid(int proid) {
		this.proid = proid;
	}
	public String getProname() {
		return proname;
	}
	public void setProname(String proname) {
		this.proname = proname;
	}

	public Project(int proid, String proname, Set<Employee> employees) {
		super();
		this.proid = proid;
		this.proname = proname;
		this.employees = employees;
	}



}
